package com.domain.service;

import com.domain.common.Result;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface UsersService {


    Result editUserInfo(String userId, String nickName, String image, String name, String gender, String birthday, String city, String industry, String personalLabel, String headImage, HttpServletRequest request) throws IOException;

    Result changePhoneNum(String userId, String newPhoneNum) throws IOException;

    Result getUsersPageInfo(String userId);

    Result editUsersPublish(String userToken, String userId, String publishId, String title, String content, String images, String filterUserId, String longitude, String latitude, String cityName, String itIsPaid, String typeId);

    Result getUserBillDetail(String userId, String startTime, String endTime, String pageNum, String pageSize);

    Result fillterUsers(String userId, String fillterUserIds);

    boolean itIsUsersFriends(String userId, String usersFridens);

    List<Map<String, Object>> getUsersHumanChain(String usersId, String publishUsersId, String helpUsersId, String connectionUserId);

}
